<?PHP
class JobDriverBO extends BusinessObject{

  /* private function using in constructors*/
  function setAttributes(){
    $this->fields   = array(
			'id'		=>	'driverID',
			'firstname'		=>	'driverFirstName',
			'lastname'		=>	'driverLastName',
			'nickname'		=>	'driverNickName',
			'dateofbirth'	=>	'driverDoB',
			'homephone'		=>	'driverHomePhone',
			'cellphone'		=>	'driverCellPhone',
			'socialsecurity'=>	'driverSocialSecurity',
			'DMVLicense'	=>	'driverDMVLicense',
			'TLCLicense'	=>	'driverTLCLicense',
			'address1'		=>	'driverAddress1',
			'city'			=>	'driverCity',
			'address2'		=>	'driverAddress2',
			'state'			=>	'driverState',
			'howlong'		=>	'driverHowLong',
			'zip'			=>	'driverZIP',
			'cur_employer'	=>	'driverCurEmpl',
			'with_whom'		=>	'driverWithWhom',
			'forhowlong'	=>	'driverForHowLong',
			'employer1'		=>	'driverEmployer1',
			'howlong1'		=>	'driverHowLong1',
			'employer2'		=>	'driverEmployer2',
			'howlong2'		=>'driverHowLong2',
			'employer3'		=>'driverEmployer3',
			'howlong3'		=>'driverHowLong3',
			'employer4'		=>'driverEmployer4',
			'howlong4'		=>'driverHowLong4',
			'employer5'		=>'driverEmployer5',
			'howlong5'		=>'driverHowLong5',
			'maycontact'	=>'driverMayContact',
			'empl_cont'		=>'driverEmplContact',
			'empl_contnum'	=>'driverEmplContPhoneNum',
			'when_start'	=>'driverWhenStart',
			'time_empl'		=>'driverTimeEmpl',
			'cantworkmonday'=>'driverCantWorkMonday',
			'cantworktuesday'	=>'driverCantWorkTuesday',
			'cantworkwednesday'	=>'driverCantWorkWednesday',
			'cantworkthursday'	=>'driverCantWorkThursday',
			'cantworkfriday'	=>'driverCantWorkFriday',
			'cantworksaturday'	=>'driverCantWorkSaturday',
			'cantworksunday'	=>'driverCantWorkSunday',
			'typecar'			=>'driverTypeCar',
			'carcolor'			=>'driverCarColor',
			'caryear'			=>'driverCarYear',
			'insurancecarrier'	=>'driverInsuranceCarrier',
			'emerg_contnum'		=>'driverEmergContNum',
			'nav'				=>'driverNav',
			'have_tristmap'		=>	'driverTriStMap'
			);
    BusinessObject::setAttributes();
  }
  /* constructor */
  function JobDriverBO(){
    /** super(tableName) */
    BusinessObject::BusinessObject("job_driver");
    $this->setAttributes();
  }
}
?>